/*
 *
12	34	56	78	11	10	999	
x	y	z	n	

 */
#include <iostream>
using namespace std;
template <typename T>
void display(T &arr, unsigned int n){
	for(int i=0; i<n; i++){
		cout << arr[i] << "\t" ;
	}
	cout << endl;
}
int main(void){
	int a[] = {12,34,56,78,11,10,999};
	char b[] = {'x', 'y', 'z', 'n'};
	display(a, sizeof(a)/sizeof(a[0]));
	display(b, sizeof(b)/sizeof(b[0]));
	return 0;
}
